<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta content="IE=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" th:href="@{/css/bootstrap-5.3.0-alpha1-dist/css/bootstrap.min.css}">
    <!-- jQuery first -->
    <script th:src="@{/js/jquery-3.5.1.js}" ></script>
    <!-- Popper.js -->
    <script crossorigin="anonymous"
            integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
            src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
    <script th:src="@{/js/bootstrap4.1.3.main.js}"></script>
    <script th:src="@{/js/bootstrap.bundle.js}"></script>
    <link th:href="@{/css/administrator.css}" rel="stylesheet">
    <title>AdminiMain</title>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="media">
            <a class="d-flex align-self-center" href="/admins/AdminMain">
                <img alt="" class="mr-3 mt-3 rounded-circle" th:src="@{/picture/0.jpg}" style="width:65px;">
            </a>
            <p th:object="${Result?.data}">
                管理员:
                <span th:text="*{Name}" style="color: brown"></span>
            </p>
            <div class="media-body">
                <h3>停车场系统后台管理</h3>
            </div>
            <div class="admin">
                <i> <a href="/admins/logout">退出登录</a></i>
            </div>
        </div>
    </div>
    <div class="main">
        <div class="left">
            <div id="accordion">
                <div class="card">
                    <div class="card-header">
                        <a class="collapsed btn" data-bs-toggle="collapse" href="#collapseOne">
                            用户管理
                        </a>
                    </div>
                    <div id="collapseOne" class="collapse" data-bs-parent="#accordion">
                        <div class="card-body">
                            <div class="bodys"><a class="aa" data-src="/admins/A_UserList">普通用户</a></div>
                            <div class="bodys"> <a class="aa" data-src="/admins/A_AdminList">管理员</a></div>
                        </div>
                    </div>
                </div>
                <div class="card">
                    <div class="card-header">
                        <a class="collapsed btn" data-bs-toggle="collapse" href="#collapseTwo">
                            退费管理
                        </a>
                    </div>
                    <div id="collapseTwo" class="collapse" data-bs-parent="#accordion">
                        <div class="card-body">
                            <div class="bodys"><a class="aa" data-src="/admins/A_DS_Recharge">待审退费</a></div>
                            <div class="bodys"> <a class="aa" data-src="/admins/A_YS_Recharge">已审退费</a></div>
                        </div>
                    </div>
                </div>
                <div class="card">
                    <div class="card-header">
                        <a class="collapsed btn" data-bs-toggle="collapse" href="#collapseThree">
                            收入清单
                        </a>
                    </div>
                    <div id="collapseThree" class="collapse" data-bs-parent="#accordion">
                        <div class="card-body">
                            <div class="bodys"><a class="aa" data-src="/admins/A_C_IncomeList">次卡收入</a></div>
                            <div class="bodys"><a class="aa" data-src="/admins/A_Y_IncomeList">月卡收入</a></div>
                        </div>
                    </div>
                </div>
                <div class="card">
                    <div class="card-header">
                        <a class="collapsed btn" data-bs-toggle="collapse" href="#collapseFore">
                            收支统计
                        </a>
                    </div>
                    <div id="collapseFore" class="collapse" data-bs-parent="#accordion">
                        <div class="card-body">
                            <div class="bodys"><a class="aa" data-src="/admins/A_TJ">日/月收支统计</a></div>
                        </div>
                    </div>
                </div>
                <div class="card">
                    <div class="card-header">
                        <a class="collapsed btn" data-bs-toggle="collapse" href="#collapseFive">
                            账号管理
                        </a>
                    </div>
                    <div id="collapseFive" class="collapse" data-bs-parent="#accordion">
                        <div class="card-body">
                            <div class="bodys"><a class="aa" data-src="/admins/A_AdminInfo">管理员信息</a></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="right">
            <iframe src="/admins/HelloAdmin" style="width:100%;height:100%;border: none;"></iframe>
        </div>
    </div>
</div>
<script th:src="@{/js/administrator.js}"></script>
</body>
</html>